package com.zmn.oms.business.interfaces.factorypart;

import com.zmn.oms.model.vo.factorypart.NewPartVO;
import com.zmn.oms.model.vo.factorypart.UsedPartVO;

import java.util.List;

/**
 * 类描述：厂商配件业务
 *
 * @author wangxiaokun
 * @since 2020/9/11 18:39
 */
public interface FactoryPartBService {

    /**
     * 查询厂商配件新件
     * @param orderId
     * @return java.util.List<com.zmn.oms.model.vo.factorypart.NewPartVO>
     * @author wangxiaokun
     */
    List<NewPartVO> listNewPartByOrderIdAndFactoryId(Long orderId);

    /**
     * 查询厂商配件旧件
     * @param orderId
     * @return java.util.List<com.zmn.oms.model.vo.factorypart.UsedPartVO>
     * @author wangxiaokun
     */
    List<UsedPartVO> listUsedPartByOrderIdAndFactoryId(Long orderId);

}
